/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package session05;

/**
 *
 * @author macbookpro
 */
public class ClassGeneric {
    public static void main(String[] args) {
        SinhVien<String> s1 = new SinhVien<String>();
        s1.setRollNo("R0001");
        
        SinhVien<Integer> s2 = new SinhVien<Integer>();
        s2.setRollNo(4);
        s2.setRollNo(new Integer(100));
        
    }
}
